package org.lalib.controller.form;

import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.SessionScoped;

import org.lalib.acquire.IControllerForm;
import org.lalib.command.Command;
import org.lalib.entity.object.EItem;
import org.springframework.stereotype.Controller;

@SessionScoped
@Controller("cCommandForm")
public class CCommandForm implements IControllerForm {

	private static final long serialVersionUID = 1L;
	private EItem item;
	private List<Command> userCommandList = new ArrayList<>();
	private List<Command> foodCommandList = new ArrayList<>();
	private List<Command> tableCommandList = new ArrayList<>();

	public EItem getItem() {
		return item;
	}

	public void setItem(EItem item) {
		this.item = item;
	}

	public List<Command> getUserCommandList() {
		return userCommandList;
	}

	public void setUserCommandList(List<Command> userCommandList) {
		this.userCommandList = userCommandList;
	}

	public List<Command> getFoodCommandList() {
		return foodCommandList;
	}

	public void setFoodCommandList(List<Command> foodCommandList) {
		this.foodCommandList = foodCommandList;
	}

	public List<Command> getTableCommandList() {
		return tableCommandList;
	}

	public void setTableCommandList(List<Command> tableCommandList) {
		this.tableCommandList = tableCommandList;
	}
}
